<!doctype html>
<html lang="en">
 <head>
  <meta charset="UTF-8">
  <meta name="Generator" content="EditPlus®">
  <meta name="Author" content="">
  <meta name="Keywords" content="">
  <meta name="Description" content="">
  <title>Document</title>
  <style>
     div{
	    width:100px;
		height:100px;
		background-color:red;
	 }
  </style>
  <script src="jquery-1.11.3.min.js"></script>
 </head>
 <body>
    <div id="div1"></div>
    <h2>aaaaaaaaaaaaaaaaa</h2>
	<h2>bbbbbbbbbbbbbbbbb</h2>
 </body>
 <script>
    var div = document.getElementById("div1");
    $(div).click(function(){
	    this.style.backgroundColor = "blue";
	});
	
	var s = $('h2').get();
	alert(s[0].outerHTML);
	alert(s[1].outerHTML);
 </script>
</html>
